GdkWaylandWindow: synchronize frame drawing
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 24 Apr 2013 22:14:22 +0000 (18:14 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Apr 2013 17:45:21 +0000 (13:45 -0400)
commitca120a98e56f66876f1958599388f1b6b64aa303
tree95711e1356a0937e7e386831e633abee5b6e31a3
parentc71fea568fc0559b8bd222e2fffdc9b108c3ade9
GdkWaylandWindow: synchronize frame drawing

Use wl_surface_frame() to get notification when the compositor paints
a frame, and use this to throttle drawing to the compositor's refresh
cycle.

https://bugzilla.gnome.org/show_bug.cgi?id=698864
gdk/wayland/gdkwindow-wayland.c